#NoEnv
#SingleInstance Force
#Persistent
#InstallKeybdHook
#MaxHotkeysPerInterval 1000

Process, Priority,,high			;脚本高优先级
CoordMode, Tooltip, Screen
CoordMode, Mouse, Screen
Coordmode, Menu, Window
SetControlDelay, -1
SetKeyDelay, -1
SetBatchLines -1
Detecthiddenwindows, on
FileEncoding, utf-8
SendMode Input
ListLines Off

SetTitleMatchMode, 2				;窗口标题模糊匹配-3为必须精确匹配 -2部分匹配 -1开头匹配
SetWinDelay,0
SetWorkingDir %A_ScriptDir%

get_browser_exe := clipboard
Loop,%0%
{
	param := %A_Index%
    Run,%get_browser_exe% %param%
	sleep,50
	ExitApp
}
